/*
* Client
*
* r1
*
* GNU General Public License v3.0
*/

package com.acme.bankapp.domain.bank;

import java.util.*;

public class Client extends Person {
	
	private ArrayList<AbstractAccount> accounts = new ArrayList<>();
	
	public Client(String firstName, String lastName, Gender gender, int age) {
		super(firstName, lastName, gender, age);
	}
	
	public ArrayList<AbstractAccount> getAccounts() {
		return this.accounts;
	}
	
	public String getClientSalutation() {
		return super.getGender() + " " + super.getFirstName() + " " + super.getLastName();
	}
	
}
